home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / misc / sci / fuzzcontr2.lha / cont_sim / READ_ME < prev   
Encoding:
Text File  |  2000-04-15  |  4.1 KB  |  126 lines

  1.  
  2.  
  3.      Program: A practical control simulation program for
  4.               educational purposes.
  5.  
  6.      Requirements: An Amiga.
  7.  
  8.      Author: Mika Korpela.  email: mkorpela@vip.fi
  9.  
  10.  
  11.  
  12.      ABOUT THE PROGRAM...
  13.  
  14.      This control simulation program differs from conventional simulation
  15.      programs in two important aspects: firstly, it does the simulation
  16.      in real-time, and secondly, it imitates the true digital control by
  17.      using 12 bits resolution in input (measuring) as well as in output
  18.      (controlling). That makes it a unique tool to study the control
  19.      behaviour exactly as it is experienced in practice. So, this program
  20.      shows you how the practical system is reacting when you change the
  21.      set value, make load changes, manipulate the control parameters and
  22.      so on.
  23.  
  24.      The program provides two control laws, the traditional PID-control
  25.      and the newcomer, FUZZY CONTROL. You can switch between them using
  26.      the "Control law"-item in "Change?"-menu.
  27.  
  28.      The control task chosen was to control the level in a liquid
  29.      tank by manipulating the input flow to the tank. I chose this 
  30.      task because it's common and also simple enough to be simulated
  31.      accurately. So, I guarantee that what you see happening in this 
  32.      program is 100% TRUE.
  33.  
  34.      The program uses its own custom screen and it offers several
  35.      windows to perform the user actions:
  36.  
  37.      * the main window which shows the process frame and displays the
  38.        current state of the process
  39.  
  40.      * the control panel window for changing parameter values, set value,
  41.        control output and so on
  42.  
  43.      * the history window which shows the control behaviour way back
  44.        across 540 control steps
  45.  
  46.      * the window for the membership functions (in fuzzy mode)
  47.  
  48.      * the window to show the control rules (in fuzzy mode)
  49.  
  50.      * the window to show the control valve characteristics.
  51.  
  52.  
  53.  
  54.      HOW TO USE THE PROGRAM...(EXAMPLES)
  55.  
  56.      * To see how the control system recovers from load changes,
  57.        follow this procedure:
  58.  
  59.          1) Choose the "Restart"-item from the "Continue?"-menu.
  60.  
  61.          2) Switch to AUTO mode by clicking the "MANU/AUTO"-button.
  62.  
  63.          3) Switch to FAST mode by using the "SLOW/FAST"-button.
  64.  
  65.          4) Wait until the level and the control output settle down and
  66.             then set the output valve to position 10%.
  67.  
  68.          5) Repeat the step 4) except now setting the output valve
  69.             fully open.
  70.  
  71.          6) Wait until the system settles down and then click the
  72.             "show history"-button to see the result.
  73.  
  74.      * Fuzzy control system can be made to oscillate very easely. To do so,
  75.        follow this procedure:
  76.  
  77.          1) Switch to fuzzy control mode by using the "Control law"-item
  78.             in the "Change?"-menu.
  79.  
  80.          2) Choose the "Membership functions"-item in the "Fuzzy"-menu.
  81.  
  82.          3) Compress the membership functions for "error signal" to the
  83.             highest level by using the "compress"-button.
  84.  
  85.          4) Expand the membership functions for "change in error signal"
  86.             to the highest level by using the "expand"-button.
  87.  
  88.          5) Close the window to return to the main window.
  89.  
  90.          6) Switch to AUTO mode by clicking the "MANU/AUTO"-button.
  91.  
  92.          7) Switch to FAST mode by using the "SLOW/FAST"-button.
  93.  
  94.          8) Click the "show history"-button after a while to see the
  95.             oscillation.
  96.  
  97.      * To produce the step response for the process, follow this procedure:
  98.  
  99.          1) Choose the "Restart"-item from the "Continue?"-menu.
  100.  
  101.          2) Click the "control output"-button to open the control panel
  102.             window.
  103.  
  104.          3) Increase the control output by clicking the "+++"-button.
  105.  
  106.          5) Click the "enter"-button.
  107.  
  108.          6) Switch to FAST mode by using the "SLOW/FAST"-button and
  109.             setting the "stop after delay" to 500.
  110.  
  111.          7) Wait the history window to appear and you will see
  112.             the step response in all its glory.
  113.  
  114.  
  115.       ---------------------------------------------------------------------
  116.  
  117.  
  118.      Mika Korpela
  119.      Markkinakatu 2
  120.      33250 Tampere
  121.      Finland
  122.  
  123.      Email: mkorpela@vip.fi
  124.  
  125.  
  126.